<?php

namespace app\admin\validate;

use think\Validate;
use app\common\Error;

class User extends Validate
{
    protected $rule = [
        'id' => 'require',
    ];

    protected $message = [
        'id.require' => Error::ID_NOT_EXIXTS,
    ];

    protected $scene = [
        'detail' => ['id'],
        'consume_record' => ['id'],
        'recharge_record' => ['id'],
        'watch_record' => ['id'],
        'proposal_detail' => ['id']
    ];
}